﻿@model PagedResult<token_deposited_dto>
@{
    if (Model.rows.Count > 0) {
        foreach (var item in Model.rows) {

            <li>
                <div class="td">
                    <div class="tdfirst col-gray2">
                       @item.amount RMB
                    </div>
                </div>
                @{ var time = item.datetime.Split(' ');}
                <div class="td col-gray2">
                    @time[0]<br>
                    @time[1]
                </div>
                <div class="td">
                    @{ var colour = "col-gray2";}
                    @if (item.status == TokenTransferStatus.Process || item.status == TokenTransferStatus.PayOffFail) {
                        colour = "col-blue";
                    } else if (item.status == TokenTransferStatus.Passedpaid|| item.status == TokenTransferStatus.Auditing) {
                        colour = "col-gray2";
                    } else {
                        colour = "col-red";
                    }
                        <span class="@colour">@item.status_desc</span>
                </div>
            </li>
        }
    }
    <page rows="@Model.rows.Count()" total_result="@Model.total_result"></page>
}


